import http from '@/utils/request';
export default {
    async getDormitoryList(param){
        return await http.get("/api/dormitory/list",param)
    },
    async updateDormitoryById(param){
        return await http.put("/api/dormitory/update",param)
    },
    async deleteDmById(param){
        return await http.delete("/api/dormitory/delete",param)
    },
    async addDormitory(params){
        return await http.post("/api/dormitory/add",params)
    }
}